package com.flong.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.flong.entity.User;

public interface IUserDao extends JpaRepository<User, Integer> {

	
	@Query("select u from User u where u.id = ?1")
	List<User> getUserList(Integer id);
}
